package com.kordar.admin.modular.sys.enums;

import com.kordar.admin.enums.EnumCommonFacade;

public enum MenuType implements EnumCommonFacade<Integer> {

    TYPE_NORMAL(0, "普通"),
    TYPE_JUST_ICON(1, "图标"),
    TYPE_JUST_TEXT(2, "文字"),
    TYPE_SEARCH(3, "搜索框"),
    TYPE_PIC_MIXED(4, "图文"),
    TYPE_EVENT(5, "事件"),
    TYPE_CUSTOMER(6, "自定义"),
    TYPE_CATEGORY(7, "菜单分类");

    private Integer code;
    private String name;

    MenuType(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
